cmake_minimum_required(VERSION 3.5)

project(qt_ui LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)


add_subdirectory(info_dialog)
add_subdirectory(admin_dialog)
add_subdirectory(cabinet_dialog)
add_subdirectory(qt_keyboard)
add_subdirectory(cabinet_collect_dialog)
add_subdirectory(cabinet_halfway_dialog)
add_subdirectory(cabinet_return_dialog)
add_subdirectory(cabinet_longrent_dialog)
add_subdirectory(main_page)


add_executable(qt_ui main.cpp)
target_link_libraries(qt_ui info_dialog admin_dialog cabinet_dialog  main_page
                           qt_keyboard cabinet_collect_dialog cabinet_halfway_dialog
                            cabinet_return_dialog cabinet_longrent_dialog )